﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Dtos
{
    /// <summary>
    /// 生产任务dto
    /// </summary>
    public class ProductionTasksDto
    {
        /// <summary>
        /// 物料管理ID
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specifications { get; set; }
        // <summary>
        /// 生产任务ID
        /// </summary>
        public int ProductiontasksId { get; set; }
        /// <summary>
        /// 生产任务编码
        /// </summary>
        public string? ProductiontasksCode { get; set; }
        /// <summary>
        /// 生产任务名称
        /// </summary>
        public string? ProductiontasksName { get; set; }
        /// <summary>
        /// 任务类型ID
        /// </summary>
        public int TaskTypeId { get; set; }
        /// <summary>
        /// 任务类型名称
        /// </summary>
        public string? TaskTypeName { get; set; }
        /// <summary>
        /// 生产数量
        /// </summary>
        public int? ProductionQuantity { get; set; }
        /// <summary>
        /// 开工时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 完工时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 状态 1-未发放；2-未完成；2-完成
        /// </summary>
        public int IsStatus { get; set; }

        /// <summary>
        /// 是否删除 1-未删除；2-删除
        /// </summary>
        public int? IsDel { get; set; }
        /// <summary>
        /// 审核状态 1-未提交；2-已审批；3-已提交
        /// </summary>
        public int? AuditStatus { get; set; }
        // <summary>
        /// 创建人
        /// </summary>
        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
    }
}
